package com.nervenets.general.exception;

import lombok.Getter;
import org.springframework.http.HttpStatus;

@Getter
public class TokenIllegalException extends LogicException {
    private final int type;

    public TokenIllegalException(String message, int type) {
        super(HttpStatus.UNAUTHORIZED.value(), message);
        this.type = type;
    }
}
